home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr35 / tx2mb242.zip / SCRIPTS.BAT < prev    next >
DOS Batch File  |  1993-06-29  |  2KB  |  31 lines

  1. @echo off
  2. echo ** Processing Script Quesionnaires into Main Board (0) **
  3. TXT2MSG 0 -qk:\pcb\script\Answer1     -rl k:\pcb\stats\caller*. -tSYSOP
  4. TXT2MSG 0 -qk:\pcb\script\Answer2     -rl k:\pcb\stats\caller*. -tSYSOP
  5. TXT2MSG 0 -qk:\pcb\script\Answer1.tty -rl k:\pcb\stats\caller*. -tSYSOP
  6. TXT2MSG 0 -qk:\pcb\script\Answer2.tty -rl k:\pcb\stats\caller*. -tSYSOP
  7. TXT2MSG 0 -qk:\pcb\script\Access1     -rl k:\pcb\stats\caller1. -tSYSOP
  8. rem     └────────┐          │          │           │               │
  9. rem  Main Board ─┘          │          │           │               │
  10. rem  Script ANSWERx files ──┘          │           │               │
  11. rem  R/O; local(non-echo) ─────────────┘           │               │
  12. rem  CallerLogs for pulling users' log entries ────┘               │
  13. rem  Addressed to the sysop (which is also default for -r) ────────┘
  14.  
  15. echo ** Moving all scripts to .LOG file(s)
  16. rem  We move the scripts off to a log file so they are not re-processed
  17. rem  again tomorrow.  If we failed to do this, every script would be re-
  18. rem  processed every day... not quite what we wanted, eh?
  19. type k:\pcb\script\answer1     >>k:\pcb\stats\answer1.log
  20. type k:\pcb\script\answer1.tty >>k:\pcb\stats\answer1.log
  21. del  k:\pcb\script\answer1.*
  22.  
  23. type k:\pcb\script\answer2     >>k:\pcb\stats\answer2.log
  24. type k:\pcb\script\answer2.tty >>k:\pcb\stats\answer2.log
  25. del  k:\pcb\script\answer2.*
  26.  
  27. type k:\pcb\script\access1     >>k:\pcb\stats\access1.log
  28. del  k:\pcb\script\access1
  29.  
  30. rem  Note: you could do that same with your callers logs to it speed up...
  31.